package com.system.commonutils.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class UsePoints {
    private Integer integralInfo_id;//主键id
    private String integralInfo_orderNo;//订单号
    private double integralInfo_money;//消费金额
    @ApiModelProperty(name="integralInfo_statue" ,notes = "状态，1是订单消费，2是积分兑换")
    private Integer integralInfo_statue;//状态，1是订单消费，2是积分兑换
    private String status;//状态
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    @ApiModelProperty(name="integralInfo_createTime" ,notes = "创建时间")
    private Date integralInfo_createTime;//创建时间
    @ApiModelProperty(name="integralInfo_integral" ,notes = "积分明细")
    private Integer integralInfo_integral;//积分
    @ApiModelProperty(name="nowsPage" ,notes = "当前页数")
    private Integer nowsPage;//当前页数
    @ApiModelProperty(name="pageSize" ,notes = "页面显示条数")
    private Integer pageSize;//页面显示条数
    private double coupon_money;
    private Integer user_id;

    public Integer getIntegralInfo_id() {
        return integralInfo_id;
    }

    public void setIntegralInfo_id(Integer integralInfo_id) {
        this.integralInfo_id = integralInfo_id;
    }

    public String getIntegralInfo_orderNo() {
        return integralInfo_orderNo;
    }

    public void setIntegralInfo_orderNo(String integralInfo_orderNo) {
        this.integralInfo_orderNo = integralInfo_orderNo;
    }

    public double getIntegralInfo_money() {
        return integralInfo_money;
    }

    public void setIntegralInfo_money(double integralInfo_money) {
        this.integralInfo_money = integralInfo_money;
    }

    public Integer getIntegralInfo_statue() {
        return integralInfo_statue;
    }

    public void setIntegralInfo_statue(Integer integralInfo_statue) {
        this.integralInfo_statue = integralInfo_statue;
    }

    public Date getIntegralInfo_createTime() {
        return integralInfo_createTime;
    }

    public void setIntegralInfo_createTime(Date integralInfo_createTime) {
        this.integralInfo_createTime = integralInfo_createTime;
    }

    public Integer getIntegralInfo_integral() {
        return integralInfo_integral;
    }

    public void setIntegralInfo_integral(Integer integralInfo_integral) {
        this.integralInfo_integral = integralInfo_integral;
    }

    public Integer getNowsPage() {
        return nowsPage;
    }

    public void setNowsPage(Integer nowsPage) {
        this.nowsPage = nowsPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public double getCoupon_money() {
        return coupon_money;
    }

    public void setCoupon_money(double coupon_money) {
        this.coupon_money = coupon_money;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "UsePoints{" +
                "integralInfo_id=" + integralInfo_id +
                ", integralInfo_orderNo='" + integralInfo_orderNo + '\'' +
                ", integralInfo_money=" + integralInfo_money +
                ", integralInfo_statue=" + integralInfo_statue +
                ", status='" + status + '\'' +
                ", integralInfo_createTime=" + integralInfo_createTime +
                ", integralInfo_integral=" + integralInfo_integral +
                ", nowsPage=" + nowsPage +
                ", pageSize=" + pageSize +
                ", coupon_money=" + coupon_money +
                ", user_id=" + user_id +
                '}';
    }
}
